package com.edu.bean;

import java.util.Date;

/**
 * @Author:zyn
 * @Date:2025/10/15--17:19:53
 */
public class Orders {

    private Integer orderId;

    private String productName;

    private String productType;

    private Double productPrice;

    private Date orderTime;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Orders() {
    }

    public Orders(String productName, String productType, Double productPrice, Date orderTime) {
        this.productName = productName;
        this.productType = productType;
        this.productPrice = productPrice;
        this.orderTime = orderTime;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderId=" + orderId +
                ", productName='" + productName + '\'' +
                ", productType='" + productType + '\'' +
                ", productPrice=" + productPrice +
                ", orderTime=" + orderTime +
                '}';
    }
}
